package com.jdym.back.mapper;

import com.jdym.back.entity.Put;
import com.jdym.back.entity.Return;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 还款表 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2021-09-20
 */
@Repository
public interface ReturnMapper extends BaseMapper<Return> {
    //查询 银行 还款信息   银行、逾期、企业、还款四表表联合查询信息
    public List<Return> FindReturnOverCobFirmAll();


    Return getReturnReportById(int loanId);
}
